package com.hzncc.flowable_diboot.vo.bpm;

import com.diboot.core.binding.annotation.BindField;
import com.diboot.iam.entity.IamUser;
import com.hzncc.flowable_diboot.entity.bpm.BpmCategory;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 流程分类 VO定义
* @author MyName
* @version 1.0
* @date 2024-06-20
* Copyright © MyCorp
*/
@Getter @Setter @Accessors(chain = true)
public class BpmCategoryListVO extends BpmCategory {
private static final long serialVersionUID = 1797203076302065898L;
    /**
    * 创建人 关联信息
    */
    @BindField(entity = IamUser.class, field = "realname", condition = "this.create_by = id")
    private String createByLabel;

    /**
    * 更新人 关联信息
    */
    @BindField(entity = IamUser.class, field = "realname", condition = "this.update_by = id")
    private String updateByLabel;

}